Fixes bug where backend RDs can't be setup
This commit is contained in:
		
							parent
							
								
									30fd83753f
								
							
						
					
					
						commit
						0e509244be
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -46,7 +46,7 @@ wiz.send_payment = function(card_obj) { | |||
| 			return create_card({type: 'Supporter', id: supporter.id}, card_obj) | ||||
| 		}) | ||||
| 		.then(function(card) { | ||||
| 			appl.rd_wizard.donation.card_id = card.id | ||||
| 			appl.rd_wizard.donation.token = card.token | ||||
|       return request.post('/nonprofits/' + ENV.nonprofitID + '/recurring_donations') | ||||
|         .send({ recurring_donation: appl.rd_wizard.donation }).perform() | ||||
| 		}) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Eric Schultz
						Eric Schultz