Skip to content

Commit

Permalink
Fixing postbackUrl not being assign to payload body as described in i…
Browse files Browse the repository at this point in the history
…ssue #137 (#139)
  • Loading branch information
petriuslima committed Mar 6, 2017
1 parent a4007dc commit 33bebbf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/Subscription/Request/SubscriptionCreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ public function getPayload()
'phone' => $this->getPhoneData(),
'born_at' => $this->customer->getBornAt(),
'gender' => $this->customer->getGender()
]
],
'postback_url' => $this->postbackUrl
];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ public function mustPayloadBeCorrect()
],
'born_at' => self::CUSTOMER_BORN_AT,
'gender' => self::CUSTOMER_GENDER
]
],
'postback_url' => self::POSTBACK_URL
]
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ private function getDefaultPayloadWithoutCardInfo()
],
'born_at' => self::CUSTOMER_BORN_AT,
'gender' => self::CUSTOMER_GENDER
]
],
'postback_url' => self::POSTBACK_URL
];
}

Expand Down

0 comments on commit 33bebbf

Please sign in to comment.